package model.workersWithData.sort;

import java.util.Comparator;

import entities.IMaster;

public class SortMasterByEmployment implements Comparator<IMaster> {

	public int compare(IMaster master1, IMaster master2) {
		int result=0;
		result=master1.getEmploymentMaster().compareTo(master2.getEmploymentMaster());

		return result;
	}

}
